﻿using Basic.FlowRemoteModel;
using Basic.FlowRemoteModel.FlowNode.Model;
using SqlSugar;

namespace Basic.FlowModel.Node
{
    public class NodeBase
    {
        public long Id
        {
            get;
            set;
        }
        public string NodeName
        {
            get;
            set;
        }
        public FlowNodeType NodeType
        {
            get;
            set;
        }
        public FlowAuditType AuditType
        {
            get;
            set;
        }
        /// <summary>
        /// 审批意见是否必填
        /// </summary>
        public bool OpinionMust
        {
            get;
            set;
        }

        /// <summary>
        /// 是否允许撤回
        /// </summary>
        public bool IsAllowCancel
        {
            get;
            set;
        }
        [SugarColumn(IsJson = true)]
        public ImgPoint Coordinate
        {
            get;
            set;
        }
    }
}
